projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0db75c6
)
Set an error when loading a GtkIconInfo fails
author
Matthias Clasen
<mclasen@redhat.com>
Wed, 16 Oct 2013 00:00:57 +0000
(20:00 -0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Wed, 16 Oct 2013 00:06:24 +0000
(20:06 -0400)
Failure to do so leads to assertion failures.
https://bugzilla.gnome.org/show_bug.cgi?id=710073
gtk/gtkicontheme.c
patch
|
blob
|
history
diff --git
a/gtk/gtkicontheme.c
b/gtk/gtkicontheme.c
index 7fc76bf703c75b96aee8444ea46c97f24ff284c8..bf5a224e5624569518c286cf089ce956b86a0329 100644
(file)
--- a/
gtk/gtkicontheme.c
+++ b/
gtk/gtkicontheme.c
@@
-4193,7
+4193,7
@@
_gtk_icon_info_load_symbolic_internal (GtkIconInfo *icon_info,
css_error = gdk_color_to_css (&error_default_color);
}
- if (!g_file_load_contents (icon_info->icon_file, NULL, &file_data, &file_len, NULL,
NULL
))
+ if (!g_file_load_contents (icon_info->icon_file, NULL, &file_data, &file_len, NULL,
error
))
return NULL;
if (!icon_info->symbolic_pixbuf_size)